﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Class2
    {
        public int Id 
        { get { return this.Id; }
          set { this.Id = value; } 
        }
        public string Name
        {
            get { return this.Name; }
            set { this.Name = value; }
        }
        public string Max
        {
            get { return this.Max; }
            set { this.Max = value; }
        }
        public void a() {
            Console.WriteLine("我的工号是{0},我的姓名是{1},我的部门是{2}", this.Id, this.Name, this.Max);
        }
        public void b()
        {
            Console.WriteLine("我的工号是{0},我的姓名是{1},我的部门是{2}", Id, Name, Max);
        }

    }
}
